USE [GraduateWork]
GO

/****** Object:  Table [dbo].[SolutionPoints]    Script Date: 01/31/2010 19:05:25 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[SolutionPoints](
	[Id] [int] IDENTITY(1,1) NOT NULL,
	[SolutionId] [int] NOT NULL,
	[X] [float] NOT NULL,
	[Y] [float] NOT NULL,
	[Z] [float] NULL,
	[U] [float] NOT NULL,
	[IsBoundary] [bit] NOT NULL,
 CONSTRAINT [PK_SolutionPoints] PRIMARY KEY CLUSTERED 
(
	[Id] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

ALTER TABLE [dbo].[SolutionPoints]  WITH CHECK ADD  CONSTRAINT [FK_SolutionPoints_Solution] FOREIGN KEY([SolutionId])
REFERENCES [dbo].[Solution] ([Id])
GO

ALTER TABLE [dbo].[SolutionPoints] CHECK CONSTRAINT [FK_SolutionPoints_Solution]
GO


